#pragma once
#include "Path.h"

class History
{
public:
	History();
	virtual ~History();

	static int  GetInt(int N, const char* symbol);
	static void SetInt(int N, const char* symbol, int val);
	static void IncreaseInt(int N, const char* symbol);

	static int  GetLossTimes(int N, int D);
	static void ZeroLostTimes(int N, int D);
	static void IncreaseLossTimes(int N, int D);
	static void DecreaseLossTimes(int N, int D);

protected:
	static void GetKey(char key[], int N);
	static int  GetInt(const char *key, const char *subkey);
	static void SetInt(const char *key, const char *subkey, int val);

protected:
	static Path config;
};

